package DataManage;

import Finish.GetFileString;
import Finish.GetValue;
import Finish.SearchAddr;

public class AddFile {

    SearchAddr search = new SearchAddr();
    GetFileString write = new GetFileString();
    //添加token
    public void addtoken(String result){
        String token = search.findtoken(result);
        write.updateProperties("token",token);
    }

    //通过A登录接口获取1500userid
    public void add1500userid(String result){
        String wulinguserid = search.find1500userid(result);
        write.updateProperties("1500userid",wulinguserid);
    }

    //通过A登录接口获取1500cube
    public void add1500cube(String result){
        String wulingcube = search.find1500cube(result);
        write.updateProperties("1500cube",wulingcube);
    }

    //通过A登录接口获取updatetimestamp
    public void addupdatetimestamp(String result){
        String updatetimestamp = search.findupdateTimestamp(result);
        write.updateProperties("updatetimestamp",updatetimestamp);
    }

    //获取创建分组的categoryId
    public void addnewcategoryId(String result){
        String newcategoryId = search.findcategoryId(result);
        write.updateProperties("newcategoryid",newcategoryId);
    }

    //通过当前分组所有好友获得黑化肥的userid
    public void addheihuafeiuserid(String result){
        String heihuafeiuserid = search.findheihuafeiuserid(result);
        write.updateProperties("heihuafeiuserid",heihuafeiuserid);
    }

    //通过当前分组所有好友获得fanshaohua_test的userid
    public void addfanshaohua_testuserid(String result){
        String fanshaohua_testuserid = search.findfanshaohua_testuserid(result);
        write.updateProperties("fanshaohua_testuserid",fanshaohua_testuserid);
    }

    //通过当前分组所有好友获得fanshaohua_101的userid
    public void addfanshaohua_101userid(String result){
        String fanshaohua_101userid = search.findfanshaohua_101userid(result);
        write.updateProperties("fanshaohua_101userid",fanshaohua_101userid);
    }

    //通过当前分组所有好友获得榴莲牛奶的userid
    public void addliulianuserid(String result){
        String liulianuserid = search.findliulianuserid(result);
        write.updateProperties("liulianuserid",liulianuserid);
    }

    //通过当前分组所有好友获得fanshaohua_test的cube
    public void addfanshaohua_testcube(String result){
        String fanshaohua_testcube = search.findfanshaohua_testcube(result);
        write.updateProperties("fanshaohua_testcube",fanshaohua_testcube);
    }

    //通过当前分组所有好友获得fanshaohua_101的cube
    public void addfanshaohua_101cube(String result){
        String fanshaohua_101cube = search.findfanshaohua_101cube(result);
        write.updateProperties("fanshaohua_101cube",fanshaohua_101cube);
    }

    //通过当前分组所有好友获得榴莲牛奶的cube
    public void addliuliancube(String result){
        String liuliancube = search.findliuliancube(result);
        write.updateProperties("liuliancube",liuliancube);
    }

    //通过B获取验证消息获取索引applicationId
    public void addapplicationid(String result){
        String applicationid = search.findapplicationId(result);
        write.updateProperties("applicationid",applicationid);
    }

    //通过创建群组获取groupId
    public void addgroupid(String result){
        String groupid = search.findgroupid(result);
        write.updateProperties("groupid",groupid);
    }

    //通过创建群组获取groupcube
    public void addgroupcube(String result){
        String groupcube = search.findgroupcube(result);
        write.updateProperties("groupcube",groupcube);
    }

    //通过创建群组获取groupname
    public void addgroupname(String result){
        String groupname = search.findgroupname(result);
        write.updateProperties("groupname",groupname);
    }

    //获取绑定邮箱的bindingIndex
    public void addbindingIndex(String result){
        String bindingIndex = search.findbindingIndex(result);
        write.updateProperties("bindingindex",bindingIndex);
    }

    //获取聚合页新闻nextId
    public void addnextId(String result){
        String nextid = search.findnextId(result);
        write.updateProperties("nextid",nextid);
    }

    //获取聚合页新闻newId
    public void addnewId(String result){
        String newid = search.findnewId(result);
        write.updateProperties("newid",newid);
    }

    //获取手机通讯录联系人的contactId1
    public void addcontactid1(String result){
        String contactid = search.findcontactId1(result);
        write.updateProperties("contactid1",contactid);
    }

    //获取手机通讯录联系人的contactId2
    public void addcontactid2(String result){
        String contactid = search.findcontactId2(result);
        write.updateProperties("contactid2",contactid);
    }

    //获取手机通讯录联系人的contactId3
    public void addcontactid3(String result){
        String contactid = search.findcontactId3(result);
        write.updateProperties("contactid3",contactid);
    }

    //获取手机通讯录联系人的contactId4
    public void addcontactid4(String result){
        String contactid = search.findcontactId4(result);
        write.updateProperties("contactid4",contactid);
    }

    //通过创建日程获取scheId
    public void addscheid (String result){
        String scheid = search.findscheId(result);
        write.updateProperties("scheid",scheid);
    }

    //通过创建日程获取scheId1
    public void addscheid1 (String result){
        String scheid = search.findscheId(result);
        write.updateProperties("scheid1",scheid);
    }

    //通过创建日程获取scheId2
    public void addscheid2 (String result){
        String scheid = search.findscheId(result);
        write.updateProperties("scheid2",scheid);
    }

    //通过注册邮箱获取activationIndex
    public void addactivationindex (String result){
        String activationindex = search.findactivationIndex(result);
        write.updateProperties("activationindex",activationindex);
    }

    //通过获取邮件帐号列表获取fanshaohua_testmailboxid
    public void addfanshaohua_testmailboxid (String result){
        String mailboxid = search.findfanshaohua_testmailboxid(result);
        write.updateProperties("fanshaohua_testmailboxid",mailboxid);
    }

    //通过获取邮件帐号列表获取fanshaohua@shixinyunmailboxid
    public void addfanshaohuashixinyunmailboxid (String result){
        String mailboxid = search.findfanshaohuashixinyunmailboxid(result);
        write.updateProperties("fanshaohuashixinyunmailboxid",mailboxid);
    }

    //通过获取邮件帐号列表获取664170687mailboxid
    public void addwulingmailboxid (String result){
        String mailboxid = search.find664170687mailboxid(result);
        write.updateProperties("664170687mailboxid",mailboxid);
    }



}
